﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Centering an Element</title>
    <link type="text/css" href="style.css" rel="stylesheet">
</head>
<body>
<nav>CSS Course by @Castle</nav>
<div style="border:1px solid blue;width: 50px; height: 50px;margin:0 auto">
    test
</div>
</body>
</html>